﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using System.Web;

namespace IQReportes.Models
{
    public class DiasAntiguedadDAO : DbContext
    {
        public DiasAntiguedadDAO() : base("conexionPrincipalIQ") { }
        public DbSet<DiasAntiguedad> diasAntiguedad { get; set; }
        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();
            modelBuilder.Entity<DiasAntiguedad>().ToTable("DiasAntiguedad");
        }
    }
}